#pragma rtGlobals=1		// Use modern global access method.
Function EPSC_Peak()
	Wave epsc, base, peak
	Rename ST_MinAvg1Y0_RAll_A0,peak; Rename ST_Bsln0_RAll_A0,base; 
	Make /N=(numpnts(base)) EPSC
	epsc=base-peak
	AppendtoTable epsc
End